package com.niiwoo.activity.stage.enums.config;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum InvestBannerEnum {
    APP_INVEST_CREDIT_BANNER("1", "APP-投资信用标页"),
    APP_INVEST__PLEDGE_BANNER("2", "APP-投资抵押标页"),
    APP_INVEST_TRANSFER_BANNER("3","APP-投资转让区" ),
    H5_INVEST_CREDIT_BANNER("4", "H5-投资信用标页"),
    H5_INVEST_PLEDGE_BANNER("5", "H5-投资抵押标页"),
    H5_INVEST_TRANSFER_BANNER("6", "H5-投资转让区");

    public final String value;
    public final String desc;
    public static InvestBannerEnum enumOf(Byte value) {
        for (InvestBannerEnum identityTagEnum : values()) {
            if (identityTagEnum.value.equals(value)) {
                return identityTagEnum;
            }
        }
        return null;
    }

}
